package com.song.ioc.impl;

import com.song.ioc.IPersonService;
import com.song.ioc.IUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @Description: IPersonService：类描述
 * @author: songzhangyong
 * @Date: 2019/10/29 18:05
 */
@Service
public class PersonServiceimpl implements IPersonService {


//	public PersonServiceimpl() {
//	}
//
//	public PersonServiceimpl(String a) {
//	}

//	public PersonServiceimpl(int i) {
//	}

	@Resource
//	@Autowired
	private IUserService userServiceImpl ;

	@Override
	public void say() {
		userServiceImpl.sout();
		System.out.println("PersonServiceimpl : say good bye ! ");
	}
}
